package com.example.demo1.Mapper;


import com.example.demo1.Bean.UserBean;
import com.example.demo1.Bean.UserStates;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Mapper
@Repository
public interface UserStatusMapper {
    List<UserStates> getAllUserStatus();
    List<UserStates>  SearchUserStatusById(@Param("userid") String id);
    List<UserStates> selectUserStatusBykw(@Param("keyword") String keyword);
    void updateUserStatus(@Param("username")String username, @Param("UserId")String UserId, @Param("status")String status, @Param("date") LocalDate date, @Param("tem")String tem);
}
